package com.hang.ixin.dao;

import com.hang.ixin.POJO.Users;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface UsersDao extends JpaRepository<Users,String> {
    Users findUsersByUsernameAndPassword(@Param("username") String username,@Param("password") String password);
    Users findUsersByUsername(String username);
    List<Users> findAllByIdIn(List<String> list);
}
